<?php
	class User{
		public $id;
		public $first_name;
		public $last_name;
		public $username;
		public $password;
		public $salutation_id;
		public $phone;
		public $email;
		public $web;
		public $registration;
		public $activated;
		public $avatar;
		public $invoice_address_id;
		public $admin;
		
		//Salutation fields
		public $sex;
		
		
		//mapping with flex
		public $_explicitType = "classespinkpony.User";
		public function __construct($id,$first_name,$last_name,$username,$password,$salutation_id,$phone,$email,$web,$registration,$activated,$avatar,$invoice_address_id,$admin, $sex){
			$this->id = $id;
			$this->first_name = $first_name;
			$this->last_name = $last_name;
			$this->username = $username;
			$this->password = $password;
			$this->salutation_id = $salutation_id;
			$this->phone = $phone;
			$this->email = $email;
			$this->web = $web;
			$this->registration = $registration;
			$this->activated = $activated;
			$this->avatar = $avatar;
			$this->invoice_address_id = $invoice_address_id;
			$this->admin = $admin;
			$this->sex = $sex;
		}

}
?>